<?php
class IllegalArgument extends Exception
{
	function __construct($message = "", $code = 0, $previous = NULL)
	{
		$s = "Illegal Argument";
		if ($message != "")
		{
			$s .= ": " . $message;
		}
		
		parent::__construct($s, $code, $previous);
	}
}